package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {
    /**
     * 通过telephone查询用户
     * @param telephone
     * @return
     */
    Member findByTelephone(String telephone);

    /**
     * 添加用户
     * @param member
     */
    void addMember(Member member);

    /**
     * 获取会员数量
     * @param monthsList
     * @return
     */
    List<Integer> findMemberCount(List<String> monthsList);


}
